package com.jing.weibo.service.system;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.jing.weibo.mapper.system.GradeMapper;
import com.jing.weibo.pojo.system.Grade;

/**
 * 等级的Service
 * @author jing.yue
 * @version 2012/09/27 1.0.0
 */
@Component
public class GradeService {

	@Autowired
	private GradeMapper gradeMapper;

	/**
	 * 获取所有等级信息集合
	 * @return
	 * @throws Exception
	 */
	public List<Grade> findAllGrade() throws Exception {
		return gradeMapper.findAllGrade();
	}

}